package com.qulai.amazon_us.domain.basic;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qulai.common.annotation.Excel;
import com.qulai.common.core.domain.BaseEntity;

/**
 * 图片审核对象 basic_image_approval
 * 
 * @author hunan
 * @date 2025-09-19
 */
public class ImageApproval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** sku */
    @Excel(name = "sku")
    private String sku;

    /** 原图地址 */
    @Excel(name = "原图地址")
    private String originImage;

    /** 生成图地址 */
    @Excel(name = "生成图地址")
    private String resultImage;

    /** 状态 0待审核 1合格 2不合格 */
    @Excel(name = "状态 0待审核 1合格 2不合格")
    private Long status;

    /** 图片类型 1白底图 2带模特图 3新主图 */
    @Excel(name = "图片类型 1白底图 2带模特图 3新主图")
    private Long type;

    /** 文件后缀 */
    @Excel(name = "文件后缀")
    private String mimeType;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long approvalUserId;

    public Integer reason;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setOriginImage(String originImage) 
    {
        this.originImage = originImage;
    }

    public String getOriginImage() 
    {
        return originImage;
    }
    public void setResultImage(String resultImage) 
    {
        this.resultImage = resultImage;
    }

    public String getResultImage() 
    {
        return resultImage;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setMimeType(String mimeType) 
    {
        this.mimeType = mimeType;
    }

    public String getMimeType() 
    {
        return mimeType;
    }
    public void setApprovalUserId(Long approvalUserId) 
    {
        this.approvalUserId = approvalUserId;
    }

    public Long getApprovalUserId() 
    {
        return approvalUserId;
    }

    public Integer getReason() {
        return reason;
    }

    public void setReason(Integer reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sku", getSku())
            .append("originImage", getOriginImage())
            .append("resultImage", getResultImage())
            .append("status", getStatus())
            .append("type", getType())
            .append("remark", getRemark())
            .append("mimeType", getMimeType())
            .append("approvalUserId", getApprovalUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("reason", getReason())
            .toString();
    }
}
